//
//  OTTexture.h
//  LuPingBox
//
//  Created by 茶 on 2023/11/10.
//  Copyright © 2023 DD. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreVideo/CVPixelBuffer.h>

NS_ASSUME_NONNULL_BEGIN

@interface CATexture : NSObject

@property (nonatomic, assign) GLuint originalTexture;
@property (nonatomic, assign) GLsizei width;
@property (nonatomic, assign) GLsizei height;

- (void)setupTexture:(CVImageBufferRef)pixelBuffer;

@end

NS_ASSUME_NONNULL_END
